package com.yoki.cloud.common.code.db.config;

import lombok.Data;

/**
 * Created by SKY on 2017/6/26.
 */
@Data
public class DatabaseConfig {

    private String driver = "com.mysql.jdbc.Driver";
    private String url = "jdbc:mysql://60.255.164.39:3306/db_sdy_dev?Unicode=true&characterEncoding=UTF-8";
    private String user = "root";
    private String password = "YztxDB#2017";

    public DatabaseConfig() {
    }

    public DatabaseConfig(String url, String username, String password) {
        this.url = url;
        this.user = username;
        this.password = password;
    }
}
